package main.java.creatures.herbivorous;

import java.awt.Color;
import java.awt.geom.Point2D;

import creatures.IEnvironment;

public class SimpleHerbivoreEscape extends SimpleHerbivore {

	public SimpleHerbivoreEscape(IEnvironment environment, Point2D position,
			double direction, double speed, Color color) {
		super(environment, position, direction, speed, color);
		this.ESCAPE_PROBABILITY = 100;
		this.NB_CREATURES_AROUND = 1;
	}

	/*public void act() {
		super.act();

		System.out.println(this.count > NB_CREATURES_AROUND
				&& this.rand.nextInt(100) < ESCAPE_PROBABILITY);
		System.out.println(this.count);
		System.out.println(this.rand.nextInt(100) < ESCAPE_PROBABILITY);
	}*/
}
